﻿@using System.Collections.Generic
@{
    ViewBag.Title = "文件上传";
}
@using (Html.BeginForm("Upload", "File", FormMethod.Post, new{
    enctype = "multipart/form-data"
}))
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>文件上传</legend>
        <input type="file" name="file" />

        <p>
            <input type="submit" value="上传" />
        </p>
    </fieldset>
}